﻿@using RTW.Model
@model PersonalSuSongEditModel
@{
    Layout = "~/Views/Shared/_Layout.cshtml";
    ViewData["Title"] = "湖北省检察院档案管理系统 - 个人 -我的诉讼档案-添加编辑信息";
}

<div class="layui-form layui-form-pane Lawsuit-form Lawsuit-form1" lay-filter="layuiadmin-form-role" id="layuiadmin-form-role" >
    <form asp-area="Personal" asp-controller="SuSong" asp-action="LawsuitForm" method="post">

        <div class="layui-tab layui-tab-brief">
            <ul class="layui-tab-title">
                <li class="layui-this" lay-id="msss">民事行政</li>
                <li class="" lay-id="gyss">公益诉讼</li>
                <li class="" lay-id="xsss">刑事诉讼</li>
            </ul>
            @if (ViewData["type"].ToString() != "add")
            {
            <div class="layui-tab-content">
                <fieldset class="layui-elem-field">
                    <legend class="Lawsuit-form1-legend">录入流程:填写年度-选择卷皮类型</legend>
                    <div class="layui-field-box">
                        <div class="layui-inline">
                            <label class="layui-form-label">年度</label>
                            <div class="layui-inline">
                                <input type="text" id="FYear" class="layui-input" asp-for="@this.Model.PersonalSuSongFiles.FYear" />
                            </div>
                            <div class="layui-inline">
                                <input type="text" class="layui-input" asp-for="@this.Model.PersonalSuSongCoverForXMS.Zhi" />
                            </div>
                            <div class="layui-inline">字第</div>
                            <div class="layui-inline">
                                <input type="text" class="layui-input" style="width:50px;" asp-for="@this.Model.PersonalSuSongCoverForXMS.Hao " />
                            </div>
                            <div class="layui-inline">号</div>
                        </div>
                        <div class="layui-inline" style="float:right;">
                            <label class="layui-form-label">卷皮类型</label>
                            <div class="layui-inline">
                                <select class="layui-select" lay-filter="jp" id="@Model.PersonalSuSongFiles.NewOrOld" asp-for="@Model.PersonalSuSongFiles.NewOrOld">
                                    <option value="1">新卷皮(红色)</option>
                                    <option value="2">旧卷皮(黑色)</option>
                                </select>
                            </div>
                        </div>
                    </div>
                    <div class="layui-field-box">
                        <div class="layui-inline">
                            <label class="layui-form-label">册号</label>
                            <input type="text" class="layui-input" asp-for="@this.Model.PersonalSuSongFiles.BookNum" />
                        </div>
                        <div class="layui-inline">
                        </div>
                        <div class="layui-inline">
                            <label class="layui-form-label">正副卷</label>
                            <div class="layui-inline">
                                <select class="layui-select" lay-filter="bookType" id="@Model.PersonalSuSongFiles.BookType" asp-for="@Model.PersonalSuSongFiles.BookType">
                                    <option value="副卷">副卷</option>
                                    <option value="正卷">正卷</option>
                                </select>
                            </div>
                        </div>
                        <div class="layui-inline">
                            <label class="layui-form-label">保管期限</label>
                            <div class="layui-inline">
                                <select class="layui-select" lay-filter="qx" id="@Model.PersonalSuSongFiles.FTermCode" asp-for="@Model.PersonalSuSongFiles.FTermCode">
                                    <option value="1">永久</option>
                                    <option value="2">长期</option>
                                    <option value="3">短期</option>
                                </select>
                            </div>
                        </div>
                    </div>
                </fieldset>
                <!--民事诉讼-->
                <div class="layui-tab-item layui-show">
                    <!--新卷皮-->
                    <fieldset class="layui-elem-field xjp">
                        <legend>基本信息</legend>
                        <div class="layui-field-box">
                            <div class="Lawsuit-text">
                                <label class="layui-form-label">立卷单位：</label>
                                <div class="layui-inline Lawsuit-textarea">
                                    <textarea class="layui-textarea" placeholder="填写本院立卷归档处(科)室名称(15字以内)" maxlength="30" asp-for="@this.Model.PersonalSuSongCoverForXMS.CreatUnit"></textarea>
                                </div>
                            </div>
                            <div class="Lawsuit-text">
                                <label class="layui-form-label">统一受案号：</label>
                                <div class="layui-inline Lawsuit-textarea">
                                    <textarea class="layui-textarea" placeholder="填写全国检察机关统一业务应用系统内的统一受案号(20字以内)" maxlength="40" asp-for="@this.Model.PersonalSuSongCoverForXMS.TYSAH"></textarea>
                                </div>
                            </div>
                            <div class="Lawsuit-text">
                                <label class="layui-form-label">案卷来源：</label>
                                <div class="layui-inline Lawsuit-textarea">
                                    <textarea class="layui-textarea" placeholder="提请抗诉、交办、转办、移送的，填写“**(单位名称)提请抗诉、交办、转办、移送”;当事人申请监督的，填写“当事人申请监督”；案外人控告、举报或检察机关自行发现的，填写“依职权受理”(40字以内)" maxlength="80" asp-for="@this.Model.PersonalSuSongCoverForXMS.LaiYuan"></textarea>
                                </div>
                            </div>
                            <div class="Lawsuit-text">
                                <label class="layui-form-label">申请人：</label>
                                <div class="layui-inline Lawsuit-textarea">
                                    <textarea class="layui-textarea" placeholder="填写申诉的单位名称或个人姓名(40字以内)" maxlength="80" asp-for="@this.Model.PersonalSuSongCoverForXMS.SQR"></textarea>
                                </div>
                            </div>
                            <div class="Lawsuit-text">
                                <label class="layui-form-label">其他当事人：</label>
                                <div class="layui-inline Lawsuit-textarea">
                                    <textarea class="layui-textarea" placeholder="填写案件中除了申请人之外的单位名称或个人姓名(40字以内)" maxlength="80" asp-for="@this.Model.PersonalSuSongCoverForXMS.OtherLitigant"></textarea>
                                </div>
                            </div>
                            <div class="Lawsuit-text">
                                <label class="layui-form-label">案由：</label>
                                <div class="layui-inline Lawsuit-textarea">
                                    <textarea class="layui-textarea" placeholder="填写原审人民法院生效裁判文书认定的案由或检察机关认定的案件性质或事由(40字以内)" maxlength="80" asp-for="@this.Model.PersonalSuSongCoverForXMS.CaseCause"></textarea>
                                </div>
                            </div>
                            <div class="Lawsuit-text">
                                <label class="layui-form-label">终审法院：</label>
                                <div class="layui-inline Lawsuit-textarea">
                                    <textarea class="layui-textarea" placeholder="填写申请监督所针对的最终作出生效判决、裁定或调解书的法院(40字以内)" maxlength="80" asp-for="@this.Model.PersonalSuSongCoverForXMS.UnDepart"></textarea>
                                </div>
                            </div>
                            <div class="Lawsuit-text">
                                <label class="layui-form-label">处理结果：</label>
                                <div class="layui-inline Lawsuit-textarea">
                                    <textarea class="layui-textarea" placeholder="填写检察机关对案件的最终处理决定。(60字以内)" maxlength="120" asp-for="@this.Model.PersonalSuSongCoverForXMS.Result1"></textarea>
                                </div>
                            </div>
                            <div class="Lawsuit-boxa">
                                <div class="layui-inline">
                                    <label class="layui-form-label">页数</label>
                                    <input type="number" placeholder="本卷内材料总页数" class="layui-input" asp-for="@this.Model.PersonalSuSongCoverForXMS.PageCount" />
                                </div>
                                <div class="layui-inline">
                                    <label class="layui-form-label">密级</label>
                                    <div class="layui-inline">
                                        <select class="layui-select" lay-filter="mj" id="@Model.PersonalSuSongCoverForXMS.Secure" asp-for="@Model.PersonalSuSongCoverForXMS.Secure">
                                            <option value="绝密">绝密</option>
                                            <option value="机密">机密</option>
                                            <option value="秘密">秘密</option>
                                        </select>
                                    </div>
                                </div>
                            </div>
                            <div class="Lawsuit-text">
                                <label class="layui-form-label">承办人：</label>
                                <div class="layui-inline Lawsuit-textarea">
                                    <textarea class="layui-textarea" placeholder="填写案件所有承办人姓名(20字以内)(封面打印后需承办人手签)" maxlength="80" asp-for="@this.Model.PersonalSuSongCoverForXMS.Undertaker"></textarea>
                                </div>
                            </div>
                            <div class="Lawsuit-box">
                                <div class="layui-inline">
                                    <label class="layui-form-label">收案日期</label>
                                    <input type="text" placeholder="填写本院收案登记日期(年月日8位数字)" maxlength="8" id="sarq" class="layui-input laydate" asp-for="@this.Model.PersonalSuSongCoverForXMS.ReceiveDate" />
                                </div>
                                <div class="layui-inline">
                                    <label class="layui-form-label">结案日期</label>
                                    <input type="text" placeholder="填写办理案件最后材料形成日期(年月日8位数字)" maxlength="8" id="jarq" class="layui-input laydate" asp-for="@this.Model.PersonalSuSongCoverForXMS.EndDate" />
                                </div>
                            </div>
                        </div>

                    </fieldset>
                    <!--旧卷皮-->
                    <fieldset class="layui-elem-field jjp">
                        <legend>基本信息</legend>
                        <div class="layui-field-box">
                            <div class="Lawsuit-text">
                                <label class="layui-form-label">案由：</label>
                                <div class="layui-inline Lawsuit-textarea">
                                    <textarea class="layui-textarea" placeholder="填写原审人民法院生效裁判文书认定的案由或检察机关认定的案件性质或事由(30字以内)" maxlength="60" asp-for="@this.Model.PersonalSuSongCoverForJMS.CaseCause"></textarea>
                                </div>
                            </div>
                            <div class="Lawsuit-text">
                                <label class="layui-form-label">案卷来源：</label>
                                <div class="layui-inline Lawsuit-textarea">
                                    <textarea class="layui-textarea" placeholder="提请抗诉、交办、转办、移送的，填写“**(单位名称)提请抗诉、交办、转办、移送”;当事人申请监督的，填写“当事人申请监督”；案外人控告、举报或检察机关自行发现的，填写“依职权受理”(30字以内)" maxlength="60" asp-for="@this.Model.PersonalSuSongCoverForJMS.LaiYuan"></textarea>
                                </div>
                            </div>
                            <div class="Lawsuit-text">
                                <label class="layui-form-label">申诉人：</label>
                                <div class="layui-inline Lawsuit-textarea">
                                    <textarea class="layui-textarea" placeholder="填写申诉、举报、控告的个人姓名或单位名称，被害人的姓名等(30字以内)" maxlength="60" asp-for="@this.Model.PersonalSuSongCoverForJMS.SSR"></textarea>
                                </div>
                            </div>

                            <div class="Lawsuit-text">
                                <label class="layui-form-label">被申诉人：</label>
                                <div class="layui-inline Lawsuit-textarea">
                                    <textarea class="layui-textarea" placeholder="(30字以内)" maxlength="60" asp-for="@this.Model.PersonalSuSongCoverForJMS.BSSR"></textarea>
                                </div>
                            </div>
                            <div class="Lawsuit-text">
                                <label class="layui-form-label">终审法院：</label>
                                <div class="layui-inline Lawsuit-textarea">
                                    <textarea class="layui-textarea" placeholder="填写申请监督所针对的最终作出生效判决、裁定或调解书的法院(30字以内)" maxlength="60" asp-for="@this.Model.PersonalSuSongCoverForJMS.UnDepart"></textarea>
                                </div>
                            </div>
                            <div class="Lawsuit-text">
                                <label class="layui-form-label">处理结果：</label>
                                <div class="layui-inline Lawsuit-textarea">
                                    <textarea class="layui-textarea" placeholder="" asp-for="@this.Model.PersonalSuSongCoverForJMS.Result1"></textarea>
                                </div>
                            </div>
                            <div class="Lawsuit-boxa">
                                <div class="layui-inline">
                                    <label class="layui-form-label">页数</label>
                                    <input type="text" placeholder="本卷内材料总页数" class="layui-input" asp-for="@this.Model.PersonalSuSongCoverForJMS.PageCount" />
                                </div>
                                <div class="layui-inline">
                                    <label class="layui-form-label">密级</label>
                                    <div class="layui-inline">
                                        <select class="layui-select" lay-filter="mj" id="@Model.PersonalSuSongCoverForJMS.Secure" asp-for="@Model.PersonalSuSongCoverForJMS.Secure">
                                            <option selected="selected" value="绝密">绝密</option>
                                            <option value="机密">机密</option>
                                            <option value="秘密">秘密</option>
                                        </select>
                                    </div>
                                </div>
                            </div>
                            <div class="Lawsuit-text">
                                <label class="layui-form-label">承办人：</label>
                                <div class="layui-inline Lawsuit-textarea">
                                    <textarea class="layui-textarea" placeholder="填写案件所有承办人姓名(20字以内)(封面打印后需承办人手签)" maxlength="80" asp-for="@this.Model.PersonalSuSongCoverForJMS.Undertaker"></textarea>
                                </div>
                            </div>
                            <div class="Lawsuit-box">
                                <div class="layui-inline">
                                    <label class="layui-form-label">收案日期</label>
                                    <input type="text" placeholder="填写本院收案登记日期(年月日8位数字)" maxlength="8" id="sarq2" class="layui-input laydate" asp-for="@this.Model.PersonalSuSongCoverForJMS.ReceiveDate" />
                                </div>
                                <div class="layui-inline">
                                    <label class="layui-form-label">结案日期</label>
                                    <input type="text" placeholder="填写办理案件最后材料形成日期(年月日8位数字)" maxlength="8" id="jarq2" class="layui-input laydate" asp-for="@this.Model.PersonalSuSongCoverForJMS.EndDate" />
                                </div>
                            </div>
                        </div>
                    </fieldset>
                </div>
                <!--公益诉讼-->
                <div class="layui-tab-item">
                    <!--新卷皮-->
                    <fieldset class="layui-elem-field xjp">
                        <legend>基本信息</legend>
                        <div class="layui-field-box">
                            <div class="Lawsuit-text">
                                <label class="layui-form-label">立卷单位：</label>
                                <div class="layui-inline Lawsuit-textarea">
                                    <textarea class="layui-textarea" placeholder="填写本院立卷归档处(科)室名称(15字以内)" maxlength="30" asp-for="@this.Model.PersonalSuSongCoverForGY.CreatUnit"></textarea>
                                </div>
                            </div>
                            <div class="Lawsuit-text">
                                <label class="layui-form-label">统一受案号：</label>
                                <div class="layui-inline Lawsuit-textarea">
                                    <textarea class="layui-textarea" placeholder="填写全国检察机关统一业务应用系统内的统一受案号(40字以内)" maxlength="80" asp-for="@this.Model.PersonalSuSongCoverForGY.TYSAH"></textarea>
                                </div>
                            </div>
                            <div class="Lawsuit-text">
                                <label class="layui-form-label">案卷来源：</label>
                                <div class="layui-inline Lawsuit-textarea">
                                    <textarea class="layui-textarea" placeholder="填写“**移送或交办”；检察机关履行职责发现的，填写“履行批准或决定逮捕(审查起诉、控告检察、诉讼监督、公益监督等)职责中发现”；上诉案件，填写“**提出上诉”(40字以内)" maxlength="80" asp-for="@this.Model.PersonalSuSongCoverForGY.LaiYuan"></textarea>
                                </div>
                            </div>
                            <div class="Lawsuit-text">
                                <label class="layui-form-label">监督对象：</label>
                                <div class="layui-inline Lawsuit-textarea">
                                    <textarea class="layui-textarea" placeholder="民事公益诉讼填写民事侵权个人或单位名称；行政公益诉讼填写被监督行政机关单位名称(40字以内)" maxlength="80" asp-for="@this.Model.PersonalSuSongCoverForGY.JDDX"></textarea>
                                </div>
                            </div>
                            <div class="Lawsuit-text">
                                <label class="layui-form-label">案由：</label>
                                <div class="layui-inline Lawsuit-textarea">
                                    <textarea class="layui-textarea" placeholder="民事填写“破坏生态环境和资源保护案(食品药品安全领域侵害众多消费者合法权益案，侵害英烈姓名、肖像、名誉、荣誉)”等；刑事附带民事填写“刑事附带民事***案”，行政填写“生态环境和资源保护（食品药品安全、国有财产保护、国有土地使用权出让）领域违法行使职权或怠于履行职责案”等。(40字以内)" maxlength="80" asp-for="@this.Model.PersonalSuSongCoverForGY.CaseCause"></textarea>
                                </div>
                            </div>
                            <div class="Lawsuit-text">
                                <label class="layui-form-label">诉前程序：</label>
                                <div class="layui-inline Lawsuit-textarea">
                                    <textarea class="layui-textarea" placeholder="填写检察机关在诉前程序对案件的处理意见，即公告、诉前检察建议、终结审查等。(40字以内)" maxlength="80" asp-for="@this.Model.PersonalSuSongCoverForGY.SQCX"></textarea>
                                </div>
                            </div>
                            <div class="Lawsuit-text">
                                <label class="layui-form-label">处理结果：</label>
                                <div class="layui-inline Lawsuit-textarea">
                                    <textarea class="layui-textarea" placeholder="填写检察机关对案卷的最终处理决定，即起诉、支持起诉、撤回上诉、终结审查等。经人民法院判决的案件，还应当注明人民法院的裁判结果(60字以内)" maxlength="80" asp-for="@this.Model.PersonalSuSongCoverForGY.Result1"></textarea>
                                </div>
                            </div>
                            <div class="Lawsuit-boxa">
                                <div class="layui-inline">
                                    <label class="layui-form-label">页数</label>
                                    <input type="text" placeholder="本卷内材料总页数" class="layui-input" asp-for="@this.Model.PersonalSuSongCoverForGY.PageCount" />
                                </div>
                                <div class="layui-inline">
                                    <label class="layui-form-label">密级</label>
                                    <div class="layui-inline">
                                        <select class="layui-select" lay-filter="mj" id="@Model.PersonalSuSongCoverForGY.Secure" asp-for="@Model.PersonalSuSongCoverForGY.Secure">
                                            <option selected="selected" value="绝密">绝密</option>
                                            <option value="机密">机密</option>
                                            <option value="秘密">秘密</option>
                                        </select>
                                    </div>
                                </div>
                            </div>
                            <div class="Lawsuit-text">
                                <label class="layui-form-label">承办人：</label>
                                <div class="layui-inline Lawsuit-textarea">
                                    <textarea class="layui-textarea" placeholder="填写案件所有承办人姓名(20字以内)(封面打印后需承办人手签)" maxlength="80" asp-for="@this.Model.PersonalSuSongCoverForGY.Undertaker"></textarea>
                                </div>
                            </div>
                            <div class="Lawsuit-box">
                                <div class="layui-inline">
                                    <label class="layui-form-label">收案日期</label>
                                    <input type="text" placeholder="填写本院收案登记日期(年月日8位数字)" maxlength="8" id="sarq3" class="layui-input laydate" asp-for="@this.Model.PersonalSuSongCoverForGY.ReceiveDate" />
                                </div>
                                <div class="layui-inline">
                                    <label class="layui-form-label">结案日期</label>
                                    <input type="text" placeholder="填写办理案件最后材料形成日期(年月日8位数字)" maxlength="8" id="jarq3" class="layui-input laydate" asp-for="@this.Model.PersonalSuSongCoverForGY.EndDate" />
                                </div>
                            </div>
                        </div>

                    </fieldset>
                    <!--旧卷皮-->
                    <fieldset class="layui-elem-field jjp">
                        <legend>基本信息</legend>
                        <p style="text-align:center;line-height:30px;color:red;">公益诉讼无旧卷皮</p>
                    </fieldset>
                </div>
                <!--刑事诉讼-->
                <div class="layui-tab-item">
                    <!--新卷皮-->
                    <fieldset class="layui-elem-field xjp">
                        <legend>基本信息</legend>
                        <div class="layui-field-box">
                            <div class="Lawsuit-text">
                                <label class="layui-form-label">立卷单位：</label>
                                <div class="layui-inline Lawsuit-textarea">
                                    <textarea class="layui-textarea" placeholder="填写本院立卷归档处(科)室名称(15字以内)" maxlength="30" asp-for="@this.Model.PersonalSuSongCoverForXXS.CreatUnit"></textarea>
                                </div>
                            </div>
                            <div class="Lawsuit-text">
                                <label class="layui-form-label">统一受案号：</label>
                                <div class="layui-inline Lawsuit-textarea">
                                    <textarea class="layui-textarea" placeholder="填写全国检察机关统一业务应用系统内的统一受案号(20字以内)" maxlength="40" asp-for="@this.Model.PersonalSuSongCoverForXXS.TYSAH"></textarea>
                                </div>
                            </div>
                            <div class="Lawsuit-text">
                                <label class="layui-form-label">案卷来源：</label>
                                <div class="layui-inline Lawsuit-textarea">
                                    <textarea class="layui-textarea" placeholder="填写“**(单位名称)移送、交办”或“**(单位名称或个人名称)控告、申诉”；检察机关自行发现的，填写“自行发现”(40字以内)" maxlength="80" asp-for="@this.Model.PersonalSuSongCoverForXXS.LaiYuan"></textarea>
                                </div>
                            </div>
                            <div class="Lawsuit-text">
                                <label class="layui-form-label">申诉人：</label>
                                <div class="layui-inline Lawsuit-textarea">
                                    <textarea class="layui-textarea" placeholder="填写申诉、举报、控告的个人姓名或单位名称，被害人的姓名等(40字以内)" maxlength="80" asp-for="@this.Model.PersonalSuSongCoverForXXS.SSR"></textarea>
                                </div>
                            </div>
                            <div class="Lawsuit-text">
                                <label class="layui-form-label">犯罪嫌疑人：</label>
                                <div class="layui-inline Lawsuit-textarea">
                                    <textarea class="layui-textarea" placeholder="填写在诉讼过程中被指控、被举报的犯罪嫌疑人(被告人)姓名或单位名称(60字以内)" maxlength="120" asp-for="@this.Model.PersonalSuSongCoverForXXS.FZXYRBGR"></textarea>
                                </div>
                            </div>
                            <div class="Lawsuit-text">
                                <label class="layui-form-label">案由：</label>
                                <div class="layui-inline Lawsuit-textarea">
                                    <textarea class="layui-textarea" placeholder="填写检察机关认定的罪名、案件性质或事由(40字以内)" maxlength="80" asp-for="@this.Model.PersonalSuSongCoverForXXS.CaseCause"></textarea>
                                </div>
                            </div>
                            <div class="Lawsuit-text">
                                <label class="layui-form-label">处理结果：</label>
                                <div class="layui-inline Lawsuit-textarea">
                                    <textarea class="layui-textarea" placeholder="填写检察机关对案件的最终处理决定。经人民法院判决的案件，还应当注明人民法院认定的罪名及处理结果；(80字以内))" maxlength="160" asp-for="@this.Model.PersonalSuSongCoverForXXS.Result1"></textarea>
                                </div>
                            </div>
                            <div class="Lawsuit-boxa">
                                <div class="layui-inline">
                                    <label class="layui-form-label">页数</label>
                                    <input type="text" placeholder="本卷内材料总页数" class="layui-input" asp-for="@this.Model.PersonalSuSongCoverForXXS.PageCount" />
                                </div>
                                <div class="layui-inline">
                                    <label class="layui-form-label">密级</label>
                                    <div class="layui-inline">
                                        <select class="layui-select" lay-filter="mj" id="@Model.PersonalSuSongCoverForXXS.Secure" asp-for="@Model.PersonalSuSongCoverForXXS.Secure">
                                            <option selected="selected" value="绝密">绝密</option>
                                            <option value="机密">机密</option>
                                            <option value="秘密">秘密</option>
                                        </select>
                                    </div>
                                </div>
                            </div>
                            <div class="Lawsuit-text">
                                <label class="layui-form-label">承办人：</label>
                                <div class="layui-inline Lawsuit-textarea">
                                    <textarea class="layui-textarea" placeholder="填写案件所有承办人姓名(20字以内)(封面打印后需承办人手签)" maxlength="80" asp-for="@this.Model.PersonalSuSongCoverForXXS.Undertaker"></textarea>
                                </div>
                            </div>
                            <div class="Lawsuit-box">
                                <div class="layui-inline">
                                    <label class="layui-form-label">收案日期</label>
                                    <input type="text" placeholder="填写本院收案登记日期(年月日8位数字)" maxlength="8" id="sarq5" class="layui-input laydate" asp-for="@this.Model.PersonalSuSongCoverForXXS.ReceiveDate" />
                                </div>
                                <div class="layui-inline">
                                    <label class="layui-form-label">结案日期</label>
                                    <input type="text" placeholder="填写办理案件最后材料形成日期(年月日8位数字)" maxlength="8" id="jarq5" class="layui-input laydate" asp-for="@this.Model.PersonalSuSongCoverForXXS.EndDate" />
                                </div>
                            </div>
                        </div>
                    </fieldset>
                    <!--旧卷皮-->
                    <fieldset class="layui-elem-field jjp">
                        <legend>基本信息</legend>
                        <div class="layui-field-box">
                            <div class="Lawsuit-text">
                                <label class="layui-form-label">案卷来源：</label>
                                <div class="layui-inline Lawsuit-textarea">
                                    <textarea class="layui-textarea" asp-for="@this.Model.PersonalSuSongCoverForJXS.LaiYuan" placeholder="提请抗诉、交办、转办、移送的，填写“**(单位名称)提请抗诉、交办、转办、移送”;当事人申请监督的，填写“当事人申请监督”；案外人控告、举报或检察机关自行发现的，填写“依职权受理”(30字以内)" maxlength="60"></textarea>
                                </div>
                            </div>
                            <div class="Lawsuit-text">
                                <label class="layui-form-label">申诉人：</label>
                                <div class="layui-inline Lawsuit-textarea">
                                    <textarea class="layui-textarea" asp-for="@this.Model.PersonalSuSongCoverForJXS.SSR" placeholder="填写申诉、举报、控告的个人姓名或单位名称，被害人的姓名等(30字以内)" maxlength="60"></textarea>
                                </div>
                            </div>
                            <div class="Lawsuit-text">
                                <label class="layui-form-label">犯罪嫌疑人：</label>
                                <div class="layui-inline Lawsuit-textarea">
                                    <textarea class="layui-textarea" asp-for="@this.Model.PersonalSuSongCoverForJXS.FZXYRBGR" placeholder="填写在诉讼过程中被指控、被举报的犯罪嫌疑人(被告人)姓名或单位名称(60字以内)" maxlength="120"></textarea>
                                </div>
                            </div>
                            <div class="Lawsuit-text">
                                <label class="layui-form-label">案由：</label>
                                <div class="layui-inline Lawsuit-textarea">
                                    <textarea class="layui-textarea" asp-for="@this.Model.PersonalSuSongCoverForJXS.CaseCause" placeholder="填写原审人民法院生效裁判文书认定的案由或检察机关认定的案件性质或事由(30字以内)" maxlength="60"></textarea>
                                </div>
                            </div>
                            <div class="Lawsuit-text">
                                <label class="layui-form-label">处理结果：</label>
                                <div class="layui-inline Lawsuit-textarea">
                                    <textarea class="layui-textarea" asp-for="@this.Model.PersonalSuSongCoverForJXS.Result1" placeholder="填写检察机关对案件的最终处理决定。经人民法院判决的案件，还应当注明人民法院认定的罪名及处理结果；(60字以内)"></textarea>
                                </div>
                            </div>
                            <div class="Lawsuit-boxa">
                                <div class="layui-inline">
                                    <label class="layui-form-label">页数</label>
                                    <input type="text" placeholder="本卷内材料总页数" class="layui-input" asp-for="@this.Model.PersonalSuSongCoverForJXS.PageCount" />
                                </div>
                                <div class="layui-inline">
                                    <label class="layui-form-label">密级</label>
                                    <div class="layui-inline">
                                        <select class="layui-select" lay-filter="mj" id="@Model.PersonalSuSongCoverForJXS.Secure" asp-for="@Model.PersonalSuSongCoverForJXS.Secure">
                                            <option selected="selected" value="绝密">绝密</option>
                                            <option value="机密">机密</option>
                                            <option value="秘密">秘密</option>
                                        </select>
                                    </div>
                                </div>
                            </div>
                            <div class="Lawsuit-text">
                                <label class="layui-form-label">承办人：</label>
                                <div class="layui-inline Lawsuit-textarea">
                                    <textarea class="layui-textarea" asp-for="@this.Model.PersonalSuSongCoverForJXS.Undertaker" placeholder="填写案件所有承办人姓名(20字以内)(封面打印后需承办人手签)" maxlength="80"></textarea>
                                </div>
                            </div>
                            <div class="Lawsuit-box">
                                <div class="layui-inline">
                                    <label class="layui-form-label">收案日期</label>
                                    <input type="text" placeholder="填写本院收案登记日期(年月日8位数字)" maxlength="8" id="sarq6" class="layui-input laydate" asp-for="@this.Model.PersonalSuSongCoverForJXS.ReceiveDate" />
                                </div>
                                <div class="layui-inline">
                                    <label class="layui-form-label">结案日期</label>
                                    <input type="text" placeholder="填写办理案件最后材料形成日期(年月日8位数字)" maxlength="8" id="jarq6" class="layui-input laydate" asp-for="@this.Model.PersonalSuSongCoverForJXS.EndDate" />
                                </div>
                            </div>
                        </div>
                    </fieldset>
                </div>

                <input type="hidden" class="layui-input" asp-for="@this.Model.PersonalSuSongCoverForXMS.CoverID" />
                <input type="hidden" class="layui-input" asp-for="@this.Model.PersonalSuSongFiles.ID" />
            </div>
            }
            else
            {
                <div class="layui-tab-content">
                    <fieldset class="layui-elem-field">
                        <legend class="Lawsuit-form1-legend">录入流程:填写年度-选择卷皮类型</legend>
                        <div class="layui-field-box">
                            <div class="layui-inline">
                                <label class="layui-form-label">年度</label>
                                <div class="layui-inline">
                                    <input type="text" id="FYear" name="FYear" class="layui-input" />
                                </div>
                                <div class="layui-inline">
                                    <input type="text" name="ZI" class="layui-input" />
                                </div>
                                <div class="layui-inline">字第</div>
                                <div class="layui-inline">
                                    <input type="text" name="HAO" class="layui-input" style="width:50px;" />
                                </div>
                                <div class="layui-inline">号</div>
                            </div>
                            <div class="layui-inline" style="float:right;">
                                <label class="layui-form-label">卷皮类型</label>
                                <div class="layui-inline">
                                    <select class="layui-select" name="NewOrOld" lay-filter="jp">
                                        <option value="1">新卷皮(红色)</option>
                                        <option value="2">旧卷皮(黑色)</option>
                                    </select>
                                </div>
                            </div>
                        </div>
                        <div class="layui-field-box">
                            <div class="layui-inline">
                                <label class="layui-form-label">册号</label>
                                <input type="text" name="BookNum" class="layui-input" />
                            </div>
                            <div class="layui-inline">
                            </div>
                            <div class="layui-inline">
                                <label class="layui-form-label">正副卷</label>
                                <div class="layui-inline">
                                    <select class="layui-select" name="BookType" lay-filter="bookType">
                                        <option value="副卷">副卷</option>
                                        <option value="正卷">正卷</option>
                                    </select>
                                </div>
                            </div>
                            <div class="layui-inline">
                                <label class="layui-form-label">保管期限</label>
                                <div class="layui-inline">
                                    <select class="layui-select" name="FTermCode" lay-filter="qx">
                                        <option selected="selected" value="1">永久</option>
                                        <option value="2">长期</option>
                                        <option value="3">短期</option>
                                    </select>
                                </div>
                            </div>
                        </div>
                    </fieldset>
                    <!--民事-->
                    <div class="layui-tab-item layui-show">
                        <!--新卷皮-->
                        <fieldset class="layui-elem-field xjp">
                            <legend>基本信息</legend>
                            <div class="layui-field-box">
                                <div class="Lawsuit-text">
                                    <label class="layui-form-label">立卷单位：</label>
                                    <div class="layui-inline Lawsuit-textarea">
                                        <textarea class="layui-textarea" name="MS_New_CreatUnit" placeholder="填写本院立卷归档处(科)室名称(15字以内)" maxlength="30"></textarea>
                                    </div>
                                </div>
                                <div class="Lawsuit-text">
                                    <label class="layui-form-label">统一受案号：</label>
                                    <div class="layui-inline Lawsuit-textarea">
                                        <textarea class="layui-textarea" name="MS_New_TYSAH" placeholder="填写全国检察机关统一业务应用系统内的统一受案号(20字以内)" maxlength="40"></textarea>
                                    </div>
                                </div>
                                <div class="Lawsuit-text">
                                    <label class="layui-form-label">案卷来源：</label>
                                    <div class="layui-inline Lawsuit-textarea">
                                        <textarea class="layui-textarea" name="MS_New_LaiYuan" placeholder="提请抗诉、交办、转办、移送的，填写“**(单位名称)提请抗诉、交办、转办、移送”;当事人申请监督的，填写“当事人申请监督”；案外人控告、举报或检察机关自行发现的，填写“依职权受理”(40字以内)" maxlength="80"></textarea>
                                    </div>
                                </div>
                                <div class="Lawsuit-text">
                                    <label class="layui-form-label">申请人：</label>
                                    <div class="layui-inline Lawsuit-textarea">
                                        <textarea class="layui-textarea" name="MS_New_SQR" placeholder="填写申诉的单位名称或个人姓名(40字以内)" maxlength="80"></textarea>
                                    </div>
                                </div>
                                <div class="Lawsuit-text">
                                    <label class="layui-form-label">其他当事人：</label>
                                    <div class="layui-inline Lawsuit-textarea">
                                        <textarea class="layui-textarea" name="MS_New_OtherLitigant" placeholder="填写案件中除了申请人之外的单位名称或个人姓名(40字以内)" maxlength="80"></textarea>
                                    </div>
                                </div>
                                <div class="Lawsuit-text">
                                    <label class="layui-form-label">案由：</label>
                                    <div class="layui-inline Lawsuit-textarea">
                                        <textarea class="layui-textarea" name="MS_New_CaseCause" placeholder="填写原审人民法院生效裁判文书认定的案由或检察机关认定的案件性质或事由(40字以内)" maxlength="80"></textarea>
                                    </div>
                                </div>
                                <div class="Lawsuit-text">
                                    <label class="layui-form-label">终审法院：</label>
                                    <div class="layui-inline Lawsuit-textarea">
                                        <textarea class="layui-textarea" name="MS_New_UnDepart" placeholder="填写申请监督所针对的最终作出生效判决、裁定或调解书的法院(40字以内)" maxlength="80"></textarea>
                                    </div>
                                </div>
                                <div class="Lawsuit-text">
                                    <label class="layui-form-label">处理结果：</label>
                                    <div class="layui-inline Lawsuit-textarea">
                                        <textarea class="layui-textarea" name="MS_New_Result1" placeholder="填写检察机关对案件的最终处理决定。(60字以内)" maxlength="120"></textarea>
                                    </div>
                                </div>
                                <div class="Lawsuit-boxa">
                                    <div class="layui-inline">
                                        <label class="layui-form-label">页数</label>
                                        <input type="number" name="MS_New_PageCount" placeholder="本卷内材料总页数" class="layui-input" />
                                    </div>
                                    <div class="layui-inline">
                                        <label class="layui-form-label">密级</label>
                                        <div class="layui-inline">
                                            <select class="layui-select" name="MS_New_Secure" lay-filter="mj">
                                                <option value="绝密">绝密</option>
                                                <option value="机密">机密</option>
                                                <option value="秘密">秘密</option>
                                            </select>
                                        </div>
                                    </div>
                                </div>
                                <div class="Lawsuit-text">
                                    <label class="layui-form-label">承办人：</label>
                                    <div class="layui-inline Lawsuit-textarea">
                                        <textarea class="layui-textarea" name="MS_New_Undertaker" placeholder="填写案件所有承办人姓名(20字以内)(封面打印后需承办人手签)" maxlength="80"></textarea>
                                    </div>
                                </div>
                                <div class="Lawsuit-box">
                                    <div class="layui-inline">
                                        <label class="layui-form-label">收案日期</label>
                                        <input type="text" name="MS_New_ReceiveDate" placeholder="填写本院收案登记日期(年月日8位数字)" maxlength="8" id="sarq" class="layui-input laydate" />
                                    </div>
                                    <div class="layui-inline">
                                        <label class="layui-form-label">结案日期</label>
                                        <input type="text" name="MS_New_EndDate" placeholder="填写办理案件最后材料形成日期(年月日8位数字)" maxlength="8" id="jarq" class="layui-input laydate" />
                                    </div>
                                </div>
                            </div>
                        </fieldset>
                        <!--旧卷皮-->
                        <fieldset class="layui-elem-field jjp">
                            <legend>基本信息</legend>
                            <div class="layui-field-box">
                                <div class="Lawsuit-text">
                                    <label class="layui-form-label">案由：</label>
                                    <div class="layui-inline Lawsuit-textarea">
                                        <textarea class="layui-textarea" name="MS_Old_CaseCause" placeholder="填写原审人民法院生效裁判文书认定的案由或检察机关认定的案件性质或事由(30字以内)" maxlength="60"></textarea>
                                    </div>
                                </div>
                                <div class="Lawsuit-text">
                                    <label class="layui-form-label">案卷来源：</label>
                                    <div class="layui-inline Lawsuit-textarea">
                                        <textarea class="layui-textarea" name="MS_Old_LaiYuan" placeholder="提请抗诉、交办、转办、移送的，填写“**(单位名称)提请抗诉、交办、转办、移送”;当事人申请监督的，填写“当事人申请监督”；案外人控告、举报或检察机关自行发现的，填写“依职权受理”(30字以内)" maxlength="60"></textarea>
                                    </div>
                                </div>
                                <div class="Lawsuit-text">
                                    <label class="layui-form-label">申诉人：</label>
                                    <div class="layui-inline Lawsuit-textarea">
                                        <textarea class="layui-textarea" name="MS_Old_SSR" placeholder="填写申诉、举报、控告的个人姓名或单位名称，被害人的姓名等(30字以内)" maxlength="60"></textarea>
                                    </div>
                                </div>

                                <div class="Lawsuit-text">
                                    <label class="layui-form-label">被申诉人：</label>
                                    <div class="layui-inline Lawsuit-textarea">
                                        <textarea class="layui-textarea" name="MS_Old_BSSR" placeholder="(30字以内)" maxlength="60"></textarea>
                                    </div>
                                </div>
                                <div class="Lawsuit-text">
                                    <label class="layui-form-label">终审法院：</label>
                                    <div class="layui-inline Lawsuit-textarea">
                                        <textarea class="layui-textarea" name="MS_Old_UnDepart" placeholder="填写申请监督所针对的最终作出生效判决、裁定或调解书的法院(30字以内)" maxlength="60"></textarea>
                                    </div>
                                </div>
                                <div class="Lawsuit-text">
                                    <label class="layui-form-label">处理结果：</label>
                                    <div class="layui-inline Lawsuit-textarea">
                                        <textarea class="layui-textarea" name="MS_Old_Result1" placeholder=""></textarea>
                                    </div>
                                </div>
                                <div class="Lawsuit-boxa">
                                    <div class="layui-inline">
                                        <label class="layui-form-label">页数</label>
                                        <input type="text" name="MS_Old_PageCount" placeholder="本卷内材料总页数" class="layui-input" />
                                    </div>
                                    <div class="layui-inline">
                                        <label class="layui-form-label">密级</label>
                                        <div class="layui-inline">
                                            <select class="layui-select" name="MS_Old_Secure" lay-filter="mj">
                                                <option selected="selected" value="绝密">绝密</option>
                                                <option value="机密">机密</option>
                                                <option value="秘密">秘密</option>
                                            </select>
                                        </div>
                                    </div>
                                </div>
                                <div class="Lawsuit-text">
                                    <label class="layui-form-label">承办人：</label>
                                    <div class="layui-inline Lawsuit-textarea">
                                        <textarea class="layui-textarea" name="MS_Old_Undertaker" placeholder="填写案件所有承办人姓名(20字以内)(封面打印后需承办人手签)" maxlength="80"></textarea>
                                    </div>
                                </div>
                                <div class="Lawsuit-box">
                                    <div class="layui-inline">
                                        <label class="layui-form-label">收案日期</label>
                                        <input type="text" name="MS_Old_ReceiveDate" placeholder="填写本院收案登记日期(年月日8位数字)" maxlength="8" id="sarq2" class="layui-input laydate" />
                                    </div>
                                    <div class="layui-inline">
                                        <label class="layui-form-label">结案日期</label>
                                        <input type="text" name="MS_Old_EndDate" placeholder="填写办理案件最后材料形成日期(年月日8位数字)" maxlength="8" id="jarq2" class="layui-input laydate" />
                                    </div>
                                </div>
                            </div>
                        </fieldset>
                    </div>
                    <!--公益-->
                    <div class="layui-tab-item">
                        <!--新卷皮-->
                        <fieldset class="layui-elem-field xjp">
                            <legend>基本信息</legend>
                            <div class="layui-field-box">
                                <div class="Lawsuit-text">
                                    <label class="layui-form-label">立卷单位：</label>
                                    <div class="layui-inline Lawsuit-textarea">
                                        <textarea class="layui-textarea" name="GY_New_CreatUnit" placeholder="填写本院立卷归档处(科)室名称(15字以内)" maxlength="30"></textarea>
                                    </div>
                                </div>
                                <div class="Lawsuit-text">
                                    <label class="layui-form-label">统一受案号：</label>
                                    <div class="layui-inline Lawsuit-textarea">
                                        <textarea class="layui-textarea" name="GY_New_TYSAH" placeholder="填写全国检察机关统一业务应用系统内的统一受案号(40字以内)" maxlength="80"></textarea>
                                    </div>
                                </div>
                                <div class="Lawsuit-text">
                                    <label class="layui-form-label">案卷来源：</label>
                                    <div class="layui-inline Lawsuit-textarea">
                                        <textarea class="layui-textarea" name="GY_New_LaiYuan" placeholder="填写“**移送或交办”；检察机关履行职责发现的，填写“履行批准或决定逮捕(审查起诉、控告检察、诉讼监督、公益监督等)职责中发现”；上诉案件，填写“**提出上诉”(40字以内)" maxlength="80"></textarea>
                                    </div>
                                </div>
                                <div class="Lawsuit-text">
                                    <label class="layui-form-label">监督对象：</label>
                                    <div class="layui-inline Lawsuit-textarea">
                                        <textarea class="layui-textarea" name="GY_New_JDDX" placeholder="民事公益诉讼填写民事侵权个人或单位名称；行政公益诉讼填写被监督行政机关单位名称(40字以内)" maxlength="80"></textarea>
                                    </div>
                                </div>
                                <div class="Lawsuit-text">
                                    <label class="layui-form-label">案由：</label>
                                    <div class="layui-inline Lawsuit-textarea">
                                        <textarea class="layui-textarea" name="GY_New_CaseCause" placeholder="民事填写“破坏生态环境和资源保护案(食品药品安全领域侵害众多消费者合法权益案，侵害英烈姓名、肖像、名誉、荣誉)”等；刑事附带民事填写“刑事附带民事***案”，行政填写“生态环境和资源保护（食品药品安全、国有财产保护、国有土地使用权出让）领域违法行使职权或怠于履行职责案”等。(40字以内)" maxlength="80"></textarea>
                                    </div>
                                </div>
                                <div class="Lawsuit-text">
                                    <label class="layui-form-label">诉前程序：</label>
                                    <div class="layui-inline Lawsuit-textarea">
                                        <textarea class="layui-textarea" name="GY_New_SQCX" placeholder="填写检察机关在诉前程序对案件的处理意见，即公告、诉前检察建议、终结审查等。(40字以内)" maxlength="80"></textarea>
                                    </div>
                                </div>
                                <div class="Lawsuit-text">
                                    <label class="layui-form-label">处理结果：</label>
                                    <div class="layui-inline Lawsuit-textarea">
                                        <textarea class="layui-textarea" name="GY_New_Result1" placeholder="填写检察机关对案卷的最终处理决定，即起诉、支持起诉、撤回上诉、终结审查等。经人民法院判决的案件，还应当注明人民法院的裁判结果(60字以内)" maxlength="80"></textarea>
                                    </div>
                                </div>
                                <div class="Lawsuit-boxa">
                                    <div class="layui-inline">
                                        <label class="layui-form-label">页数</label>
                                        <input type="text" name="GY_New_PageCount" placeholder="本卷内材料总页数" class="layui-input" />
                                    </div>
                                    <div class="layui-inline">
                                        <label class="layui-form-label">密级</label>
                                        <div class="layui-inline">
                                            <select class="layui-select" name="GY_New_Secure" lay-filter="mj">
                                                <option selected="selected" value="绝密">绝密</option>
                                                <option value="机密">机密</option>
                                                <option value="秘密">秘密</option>
                                            </select>
                                        </div>
                                    </div>
                                </div>
                                <div class="Lawsuit-text">
                                    <label class="layui-form-label">承办人：</label>
                                    <div class="layui-inline Lawsuit-textarea">
                                        <textarea class="layui-textarea" name="GY_New_Undertaker" placeholder="填写案件所有承办人姓名(20字以内)(封面打印后需承办人手签)" maxlength="80"></textarea>
                                    </div>
                                </div>
                                <div class="Lawsuit-box">
                                    <div class="layui-inline">
                                        <label class="layui-form-label">收案日期</label>
                                        <input type="text" name="GY_New_ReceiveDate" placeholder="填写本院收案登记日期(年月日8位数字)" maxlength="8" id="sarq3" class="layui-input laydate" />
                                    </div>
                                    <div class="layui-inline">
                                        <label class="layui-form-label">结案日期</label>
                                        <input type="text" name="GY_New_EndDate" placeholder="填写办理案件最后材料形成日期(年月日8位数字)" maxlength="8" id="jarq3" class="layui-input laydate" />
                                    </div>
                                </div>
                            </div>

                        </fieldset>
                        <!--旧卷皮-->
                        <fieldset class="layui-elem-field jjp">
                            <legend>基本信息</legend>
                            <p style="text-align:center;line-height:30px;color:red;">公益诉讼无旧卷皮</p>
                        </fieldset>
                    </div>
                    <!--刑事-->
                    <div class="layui-tab-item">
                        <!--新卷皮-->
                        <fieldset class="layui-elem-field xjp">
                            <legend>基本信息</legend>
                            <div class="layui-field-box">
                                <div class="Lawsuit-text">
                                    <label class="layui-form-label">立卷单位：</label>
                                    <div class="layui-inline Lawsuit-textarea">
                                        <textarea class="layui-textarea" name="XS_New_CreatUnit" placeholder="填写本院立卷归档处(科)室名称(15字以内)" maxlength="30"></textarea>
                                    </div>
                                </div>
                                <div class="Lawsuit-text">
                                    <label class="layui-form-label">统一受案号：</label>
                                    <div class="layui-inline Lawsuit-textarea">
                                        <textarea class="layui-textarea" name="XS_New_TYSAH" placeholder="填写全国检察机关统一业务应用系统内的统一受案号(20字以内)" maxlength="40"></textarea>
                                    </div>
                                </div>
                                <div class="Lawsuit-text">
                                    <label class="layui-form-label">案卷来源：</label>
                                    <div class="layui-inline Lawsuit-textarea">
                                        <textarea class="layui-textarea" name="XS_New_LaiYuan" placeholder="填写“**(单位名称)移送、交办”或“**(单位名称或个人名称)控告、申诉”；检察机关自行发现的，填写“自行发现”(40字以内)" maxlength="80"></textarea>
                                    </div>
                                </div>
                                <div class="Lawsuit-text">
                                    <label class="layui-form-label">申诉人：</label>
                                    <div class="layui-inline Lawsuit-textarea">
                                        <textarea class="layui-textarea" name="XS_New_SSR" placeholder="填写申诉、举报、控告的个人姓名或单位名称，被害人的姓名等(40字以内)" maxlength="80"></textarea>
                                    </div>
                                </div>
                                <div class="Lawsuit-text">
                                    <label class="layui-form-label">犯罪嫌疑人：</label>
                                    <div class="layui-inline Lawsuit-textarea">
                                        <textarea class="layui-textarea" name="XS_New_FZXYRBGR" placeholder="填写在诉讼过程中被指控、被举报的犯罪嫌疑人(被告人)姓名或单位名称(60字以内)" maxlength="120"></textarea>
                                    </div>
                                </div>
                                <div class="Lawsuit-text">
                                    <label class="layui-form-label">案由：</label>
                                    <div class="layui-inline Lawsuit-textarea">
                                        <textarea class="layui-textarea" name="XS_New_CaseCause" placeholder="填写检察机关认定的罪名、案件性质或事由(40字以内)" maxlength="80"></textarea>
                                    </div>
                                </div>
                                <div class="Lawsuit-text">
                                    <label class="layui-form-label">处理结果：</label>
                                    <div class="layui-inline Lawsuit-textarea">
                                        <textarea class="layui-textarea" name="XS_New_Result1" placeholder="填写检察机关对案件的最终处理决定。经人民法院判决的案件，还应当注明人民法院认定的罪名及处理结果；(80字以内))" maxlength="160"></textarea>
                                    </div>
                                </div>
                                <div class="Lawsuit-boxa">
                                    <div class="layui-inline">
                                        <label class="layui-form-label">页数</label>
                                        <input type="text" name="XS_New_PageCount" placeholder="本卷内材料总页数" class="layui-input" />
                                    </div>
                                    <div class="layui-inline">
                                        <label class="layui-form-label">密级</label>
                                        <div class="layui-inline">
                                            <select class="layui-select" name="XS_New_Secure" lay-filter="mj">
                                                <option selected="selected" value="绝密">绝密</option>
                                                <option value="机密">机密</option>
                                                <option value="秘密">秘密</option>
                                            </select>
                                        </div>
                                    </div>
                                </div>
                                <div class="Lawsuit-text">
                                    <label class="layui-form-label">承办人：</label>
                                    <div class="layui-inline Lawsuit-textarea">
                                        <textarea class="layui-textarea" name="XS_New_Undertaker" placeholder="填写案件所有承办人姓名(20字以内)(封面打印后需承办人手签)" maxlength="80"></textarea>
                                    </div>
                                </div>
                                <div class="Lawsuit-box">
                                    <div class="layui-inline">
                                        <label class="layui-form-label">收案日期</label>
                                        <input type="text" name="XS_New_ReceiveDate" placeholder="填写本院收案登记日期(年月日8位数字)" maxlength="8" id="sarq5" class="layui-input laydate" />
                                    </div>
                                    <div class="layui-inline">
                                        <label class="layui-form-label">结案日期</label>
                                        <input type="text" name="XS_New_EndDate" placeholder="填写办理案件最后材料形成日期(年月日8位数字)" maxlength="8" id="jarq5" class="layui-input laydate" />
                                    </div>
                                </div>
                            </div>

                        </fieldset>
                        <!--旧卷皮-->
                        <fieldset class="layui-elem-field jjp">
                            <legend>基本信息</legend>
                            <div class="layui-field-box">
                                <div class="Lawsuit-text">
                                    <label class="layui-form-label">案卷来源：</label>
                                    <div class="layui-inline Lawsuit-textarea">
                                        <textarea class="layui-textarea" name="XS_Old_LaiYuan" placeholder="提请抗诉、交办、转办、移送的，填写“**(单位名称)提请抗诉、交办、转办、移送”;当事人申请监督的，填写“当事人申请监督”；案外人控告、举报或检察机关自行发现的，填写“依职权受理”(30字以内)" maxlength="60"></textarea>
                                    </div>
                                </div>
                                <div class="Lawsuit-text">
                                    <label class="layui-form-label">申诉人：</label>
                                    <div class="layui-inline Lawsuit-textarea">
                                        <textarea class="layui-textarea" name="XS_Old_SSR" placeholder="填写申诉、举报、控告的个人姓名或单位名称，被害人的姓名等(30字以内)" maxlength="60"></textarea>
                                    </div>
                                </div>
                                <div class="Lawsuit-text">
                                    <label class="layui-form-label">犯罪嫌疑人：</label>
                                    <div class="layui-inline Lawsuit-textarea">
                                        <textarea class="layui-textarea" name="XS_Old_FZXYRBGR" placeholder="填写在诉讼过程中被指控、被举报的犯罪嫌疑人(被告人)姓名或单位名称(60字以内)" maxlength="120"></textarea>
                                    </div>
                                </div>
                                <div class="Lawsuit-text">
                                    <label class="layui-form-label">案由：</label>
                                    <div class="layui-inline Lawsuit-textarea">
                                        <textarea class="layui-textarea" name="XS_Old_CaseCause" placeholder="填写原审人民法院生效裁判文书认定的案由或检察机关认定的案件性质或事由(30字以内)" maxlength="60"></textarea>
                                    </div>
                                </div>
                                <div class="Lawsuit-text">
                                    <label class="layui-form-label">处理结果：</label>
                                    <div class="layui-inline Lawsuit-textarea">
                                        <textarea class="layui-textarea" name="XS_Old_Result1" placeholder="填写检察机关对案件的最终处理决定。经人民法院判决的案件，还应当注明人民法院认定的罪名及处理结果；(60字以内)"></textarea>
                                    </div>
                                </div>
                                <div class="Lawsuit-boxa">
                                    <div class="layui-inline">
                                        <label class="layui-form-label">页数</label>
                                        <input type="text" name="XS_Old_PageCount" placeholder="本卷内材料总页数" class="layui-input" />
                                    </div>
                                    <div class="layui-inline">
                                        <label class="layui-form-label">密级</label>
                                        <div class="layui-inline">
                                            <select class="layui-select" lay-filter="mj" name="XS_Old_Secure">
                                                <option selected="selected" value="绝密">绝密</option>
                                                <option value="机密">机密</option>
                                                <option value="秘密">秘密</option>
                                            </select>
                                        </div>
                                    </div>
                                </div>
                                <div class="Lawsuit-text">
                                    <label class="layui-form-label">承办人：</label>
                                    <div class="layui-inline Lawsuit-textarea">
                                        <textarea class="layui-textarea" name="XS_Old_Undertaker" placeholder="填写案件所有承办人姓名(20字以内)(封面打印后需承办人手签)" maxlength="80"></textarea>
                                    </div>
                                </div>
                                <div class="Lawsuit-box">
                                    <div class="layui-inline">
                                        <label class="layui-form-label">收案日期</label>
                                        <input type="text" name="XS_Old_ReceiveDate" placeholder="填写本院收案登记日期(年月日8位数字)" maxlength="8" id="sarq6" class="layui-input laydate" />
                                    </div>
                                    <div class="layui-inline">
                                        <label class="layui-form-label">结案日期</label>
                                        <input type="text" name="XS_Old_EndDate" placeholder="填写办理案件最后材料形成日期(年月日8位数字)" maxlength="8" id="jarq6" class="layui-input laydate" />
                                    </div>
                                </div>
                            </div>
                        </fieldset>
                    </div>
                </div>
            }
        </div>
        <div class="layui-form-item  layui-hide">
            <input type="button" lay-submit lay-filter="layuiadmin-app-form-submit" id="layuiadmin-app-form-submit" value="确认添加">
            <input type="button" lay-submit lay-filter="layuiadmin-app-form-edit" id="layuiadmin-app-form-edit" value="确认编辑">
        </div>
        <input type="hidden" id="type" name="type" value="@(ViewData["type"])" />
    </form>
</div>

@section scripts{
    <script>
        layui.config({
            base: '/layuiadmin/' //静态资源所在路径
        }).extend({
            index: 'lib/index' //主入口模块
        }).use(['form', 'index', 'laydate', 'element', 'jquery'], function () {
            var form = layui.form, laydate = layui.laydate, element = layui.element, $ = layui.jquery;

            $(".jjp").hide();
            form.on('select(jp)', function (data) {
                if (data.value == 1) {
                    $(".xjp").show();
                    $(".jjp").hide();
                } else {
                    $(".xjp").hide();
                    $(".jjp").show();
                }
            })

            //添加事件
            form.on('submit(layuiadmin-app-form-submit)', function (data) {
                var index = parent.layer.getFrameIndex(window.name); //先得到当前iframe层的索引
                var dataform = $('form').serialize();
                var tabsName = $(".layui-tab-title .layui-this").attr("lay-id");//获取当前选中的tabs

                $.ajax({
                    type: "POST",
                    url: "/Personal/SuSong/LawsuitForm?type=add&tabsName=" + tabsName,
                    async: true,
                    data: data.field,
                    dataType: "json",
                    success: function (res) {
                        if (res.code == '0') {
                            parent.layer.close(index); //再执行关闭
                        }
                        res.success ? top.layer.msg(res.msg, { icon: 6, times: 1500 }) : top.layer.msg(res.msg, { icon: 5, times: 1500 });
                    },
                    error: function (data) {

                    }
                });
                return false;
            });

            //编辑事件
            form.on('submit(layuiadmin-app-form-edit)', function (data) {
                var tabsName = $(".layui-tab-title .layui-this").attr("lay-id");//获取当前选中的tabs
                var field = data.field; //获取提交的字段
                var index = parent.layer.getFrameIndex(window.name); //先得到当前iframe层的索引

                //提交 Ajax 成功后，关闭当前弹层并重载表格
                $.ajax({
                    type: "POST",
                    url: "/Personal/SuSong/LawsuitForm?type=edit&tabsName=" + tabsName,
                    async: true,
                    data: field,
                    success: function (res) {
                        if (res.code == '0') {
                            parent.layer.close(index); //再执行关闭
                        }
                        res.success ? top.layer.msg(res.msg, { icon: 6, times: 1500 }) : top.layer.msg(res.msg, { icon: 5, times: 1500 });
                    },
                    error: function (data) {

                    }
                });
                return false;
            });

            laydate.render({
                elem: '#FYear',
                type: 'year'
            })

            lay('.laydate').each(function () {
                laydate.render({
                    elem:this
                    , format: 'yyyyMMdd'
                });
            });
        })
    </script>
}
